class PointCateModelEntity {
	List<PointCateModelData> data;
	int code;
	String msg;

	PointCateModelEntity({this.data, this.code, this.msg});

	PointCateModelEntity.fromJson(Map<String, dynamic> json) {
		if (json['data'] != null) {
			data = new List<PointCateModelData>();
			(json['data']['list'] as List).forEach((v) { data.add(new PointCateModelData.fromJson(v)); });
		}
		code = json['code'];
		msg = json['msg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.data != null) {
      data['data']['list'] = this.data.map((v) => v.toJson()).toList();
    }
		data['code'] = this.code;
		data['msg'] = this.msg;
		return data;
	}
}

class PointCateModelData {
String cat_id	;//商品分类ID
String cat_name	;//商品分类名称
String img	;//商品分类图标

	PointCateModelData({this.cat_id, this.cat_name, this.img});

	PointCateModelData.fromJson(Map<String, dynamic> json) {
		cat_id = json['cat_id'].toString();
    cat_name=json['cat_name'];
		img = json['img'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['cat_id'] = this.cat_id;
		data['cat_name'] = this.cat_name;
		data['img'] = this.img;
		return data;
	}
}